{% extends "base.html" %}
{% load static %}
{% block title %}
    Регистрация
{% endblock title %}

{% block loginform %}
<div class="login-container">

<section class="home show">
  <div class="form_container active">
    <i class="uil uil-times form_close"></i>
    <!-- Signup From -->
    <div class="form signup_form">
        <form  action="{% url 'account:register' %}" method="post">
          {% csrf_token %}
          {{ form.non_field_errors }}
        <h2>Регистрация</h2>

        <div class="input_box">
            <label class="inputArea" for="id_password" class="form-label"></label>
            {{ form.email }}
            <i class="uil uil-envelope-alt email"></i>
        </div>
        

        <button class="button registerBtn">Зарегистрироваться</button>

        <div class="login_signup">Есть аккаунт? <a href="{% url 'account:login' %}" id="login">Войти</a></div>
      </form>
    </div>
  </div>
</section>
</div>
  
{% endblock loginform %}
